package com.huatai.bpmn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName tb_user_role
 */
@TableName(value ="tb_user_role")
@Data
@ApiModel(value = "用户表角色关联表",description = "用户表角色关联表")
public class UserRoleEntity implements Serializable {
    /**
     * 主键id
     */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	@ApiModelProperty("主键")
    private String id;

    /**
     * 用户id
     */
	@ApiModelProperty("用户id")
    private String userId;

    /**
     * 角色id
     */
	@ApiModelProperty("角色id")
    private String roleId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
